package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Date;

/**
 * 台账记录表实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FinaLedger {

    private int id;//台账记录表主键id
    private int loansId;//对应的借款业务的id
    private int repaymentId;//对应的repayment表的id
    private String ledgerType;//这个台账记录的类型/本金收/本金放/利息/管理费.
    private BigDecimal amount;//本次台账记录的金额
    private String paymentMethod; //收款的方式。线下转账/银行代扣
    private String ledgerAuther;//台账记录人员
    private Date ledgerDate;//台账记录时间
    private String ledgerStatus;//台账记录状态
    private LoanApply loanApply;//贷款申请信息
    private UserDaikuanDate userDaikuanDate;//用户贷款信息


}
